/// <reference types="vitest" />
import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [uni()],
  test: {
    globals: true,
    environment: "jsdom",
    coverage: {
      provider: "istanbul", // or 'v8'
      reporter: ["text", "json", "html"],
      include: ["src/**/*.ts?(x)"],
    },
  },
});
